#include "TinyTimer.h"
#include "SystemTime.h"
#include <time.h>
#include <unistd.h>
 void tinytimer_cb1(void *user)
 {
    printf("1000 cb\n");

 }

 void tinytimer_cb2(void *user)
 {

    printf("2000 cb\n");
 }

 void tinytimer_cb3(void *user)
 {
    printf("3000 cb\n");

 }
int main(void)
{
   int id1 = tiny_timer_add(1000, tinytimer_cb1, NULL);
   int id2 = tiny_timer_add(2000, tinytimer_cb2, NULL);
   int id3 = tiny_timer_add(3000, tinytimer_cb3, NULL);
   tiny_timer_del(id2);
   tiny_timer_del(id3);
   while(1)
   {
     
      tiny_timer_schedule(OsUtilsGetmSencond());
      usleep(100*1000);
   
   }


}